Creating a new Race in LoP1.38
By Hanaisse
---------------------------------------------

Creating a new race is done in-game. There is no need to edit any code files. Currently MAX_RACE is defined at 50 in mud.h, allowing plenty of new race options.

1. Use SETRACE to create a race.

   Usage: setrace <race> [create/save]
   This command allows you to create, see, and edit and save a race.


2. Use SETRACE to add/edit race attributes.

   Usage: setrace <race> <field> <value>
          setrace <race> wherename <location> <string>
          setrace <race> wearrestrict <location>
          setrace <race> lodgename <location> <string>

   Field being any of;  (all fields toggle on/off)

    Field        |    Details                                  |   Default setting
   ----------------------------------------------------------------------------------------
   name          | race name                                   |  race name on create
   classes       | the classes that are allowed to be this race|  all classes
   uses          | race uses either;                           |  mana
                 | mana (1)                                    |
                 | blood (2)                                   | 
                 | none (0)                                    |
   hit           | amount of starting hit points               |  100   (range 0-30000)
   mana          | amount of starting mana                     |  100   (range 0-30000)
   move          | amount of starting moves                    |  100   (range 0-30000)
   alignment     | starting alignment level                    |  0 (neutral)
   minalign      | the min. alignment the race can have        |  -1000 (evil)
   maxalign      | the max. alignment the race can have        |  1000 (good)
   ac            | the amount of starting armorclass           |  0
   strength      | amount of starting STR attribute            |  13    (range 0-25)
   intelligence  | amount of starting INT attribute            |  13    (range 0-25)
   wisdom        | amount of starting WIS attribute            |  13    (range 0-25)
   dexterity     | amount of starting DEX attribute            |  13    (range 0-25)
   constitution  | amount of starting CON attribute            |  13    (range 0-25)
   charisma      | amount of starting CHA attribute            |  13    (range 0-25)
   luck          | amount of starting LUC attribute            |  13    (range 0-25)
   max           | the max. amount any of the above atts can be|  100   (range 0-100)
   minheight     | lowest height the race can be               |  btwn 50-75in.
   maxheight     | highest height the race can be              |  btwn 75-100in.
                 |(combined to determine 'height' in race file)|
   minweight     | lowest weight the race can be               |  btwn 150-200lbs.
   maxweight     | highest weight the race can be              |  btwn 200-250lbs.
                 |(combined to determine 'weight' in race file)|
   language      | what language the race understands          |  all
   affected      | what skills/spells is everyone of this race |  none
                 | automatically and permanently affected by   |
   hunger        | modifier to how hungry the race is          |  0     (normal tick)
   thirst        | modifier to how thirsty the race is         |  0     (normal tick)
   recall        | set a recall spot specific to this race     |  global game recall spot set by CSET
   wearname      | wearable locations (see WEARLOCS)           |  allows all
   wearrestrict  | unwearable locations (see WEARLOCS)         |  none
   lodgename     | places that arrows can pierce and get lodged|  allows all
                 | (see WEARLOCS in mobiles.txt)               |
  ------------------------------------------------------------------------------------------
   
      
3. Use SETRACE <race> SAVE often.


4. Use SETRACE <race> with no arguments to display existing information on a race.


5. SETRACE can also be used to set racial specific skills/spells.  (same as setting with SETCLASS or SSET but race specific)

   Usage: setrace <race> skill <skill> <level> <adept>

   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Hanaisse said:
   I noticed none of the skills/spells are set for Race use, yet races are affected by some skills/spells.
   Can you explain the difference of setting an effect on a race and setting a skill/spell for race use? And why
   race use isn't being used?

   Remcon said:
   Just never have set up any spells/skills to go with a race lol. It's as easy as setting them to go with a
   class though :)

   Well the affects (never have changed it to effects so I will continue to refer to it as affects lol) are the
   same as most affects in the game. You set the race to be affected by it so they always have that affect on
   them. If you set a spell/skill up so that a race gets it, they will have to practice it and all just like they
   have to their class spells/skills. 
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

5. A race can be removed/deleted by removing it from the race.lst then deleting the race file (if you want).





